﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Web;


namespace UncleBobWebService.Models
{
    [DataContract]
    public class JobModel
    {
        [DataMember]
        public int ID { get; set; }

        [DataMember]
        public string Title { get; set; }
        
        [DataMember]
        public string Location { get; set; }

        [DataMember]
        public string Salary { get; set; }

        [DataMember]
        public string Description { get; set; }

        [DataMember]
        public ApplicationQuestions QuestionsList { get; set; }

        [DataMember]
        public int PositionsAvailable { get; set; }

        public JobModel()
        {
            QuestionsList = new ApplicationQuestions();
        }
    }
}
